home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gp_mslib.c < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.5 KB  |  48 lines

  1. /* Copyright (C) 1997 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gp_mslib.c,v 1.2 2000/09/19 19:00:24 lpd Exp $ */
  20. /*
  21.  * Microsoft Windows 3.n platform support for Graphics Library
  22.  *
  23.  * This file just stubs out a few references from gp_mswin.c, where the
  24.  * real action is. This was done to avoid restructuring Windows support,
  25.  * though that would be the right thing to do.
  26.  *
  27.  * Created 6/25/97 by JD
  28.  */
  29.  
  30. #include <setjmp.h>
  31.  
  32. /// Export dummy longjmp environment
  33. jmp_buf gsdll_env;
  34.  
  35.  
  36. /// Export dummy interpreter status
  37. int gs_exit_status = 0;
  38.  
  39.  
  40. /// Dummy callback routine & export pointer to it
  41. int
  42. gsdll_callback(int a, char *b, unsigned long c)
  43. {
  44.     return 0;
  45. }
  46.  
  47. int (*pgsdll_callback) () = gsdll_callback;
  48.